package com.zs.zcerp.approval.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * AD表报实体
 *
 * @author Henry
 * @email *****@mail.com
 * @date 2021-05-12 20:58:14
 */
@Data
public class ADReportEntity implements Serializable {
	private static final long serialVersionUID = 46464646546L;


	/***
	 *台头
	 */

	/**title*/
	@TableField(exist = false)
	private String title;
	/**机构ID*/
	@TableField(exist = false)
	private Integer orgId;
	/**机构名字*/
	@TableField(exist = false)
	private String orgName;

	/**申请单位  */
	@TableField(exist = false)
	private String wcName;

	/**申请人员*/
	@TableField(exist = false)
	private String lastUserNm;

	/**销毁原因*/
	@TableField(exist = false)
	private String note;

	/**销毁单号*/
	@TableField(exist = false)
	private String destoryNo;


	/**申请日期*/
	@TableField(exist = false)
	private Date destoryDate;


	/**
	 * 内容
	 */


	/**品牌*/
	@TableField(exist = false)
	private String brandNm;

	/**  线别*/
	@TableField(exist = false)
	private String wcNameContent;

	/**线别主管*/
	@TableField(exist = false)
	private String leaderNm ;

	/**类别/部位名称 */
	@TableField(exist = false)
	private String partNm;

	/**客户订单*/
	@TableField(exist = false)
	private String po;

	/**工厂订单*/
	@TableField(exist = false)
	private String seId;

	/**ARTICNO*/
	@TableField(exist = false)
	private String articNo;

	/**形体*/
	@TableField(exist = false)
	private String articNM;

	/**数量(只)*/
	@TableField(exist = false)
	private Integer  destoryQty;


	/**数量(只)总计   */
	@TableField(exist = false)
	private int destoryQtyAmounts;


	/**   箱号*/
	@TableField(exist = false)
	private String  boxXh;

	/**   原因*/
	@TableField(exist = false)
	private String  nodeD;




	/**报表内容展示   */
	@TableField(exist = false)
	List <ADReportEntity> detailList;


	/**报表签核内容   */
	@TableField(exist = false)
	List<QhChkmgrdEntity> qhChkmgrdList;


	/**
	 * 报表类型
	 */
	@TableField(exist = false)
	private String destoryType;

	/**
	 * 表报具体品牌
	 */
	@TableField(exist = false)
	private String brandNo;




	/**
	 * 判断报表类型   LEADER_NO
	 *
	 * 1  （部位报表)  标准    DESTORY_TYPE = YE_Y
	 * 2  AD 报表        DESTORY_TYPE = YE_Y BRAND_NO=AD
	 * 3 材料表报   DESTORY_TYPE = SE_N
	 */
	@TableField(exist = false)
	private String type;


}
